package cn.lingyangwl.agile.model.constants;

/**
 * 数据规则常量, 数据范围是数据规则的一种
 * @author shenguangyang
 */
public interface DataRuleCons {
    /**
     * 数据权限过滤关键字
     */
    String DATA_SCOPE = "dataScope";

    interface UserTable {
        String ALIAS = "su";
        String COLUMN_ID = "user_id";
    }

    interface UserDeptRelTable {
        String ALIAS = "sud";
        String COLUMN_USER_ID = "user_id";
        String COLUMN_DEPT_ID = "dept_id";
    }

    interface DeptTable {
        /**
         * 表名
         */
        String NAME = "sys_dept";
        /**
         * 表的别名
         */
        String ALIAS = "sys_dept_alias";
        String COLUMN_ID = "id";
    }
}
